package com.yunhe.authority.domain.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;

import java.io.Serializable;

/**
 * 主题对象
 * @desc 主题对象定义
 * @author liuronglei
 */
@ApiModel(value = "Theme", description = "主题对象")
@NodeEntity
public class Theme implements Serializable {
    @ApiModelProperty(value = "主题ID")
    @Id
    private Long id;
    @ApiModelProperty(value = "主题编号")
    private String name;
    @ApiModelProperty(value = "主题代码")
    private Long code;
    @ApiModelProperty(value = "主题标题")
    private String title;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
